home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / grafik / bildanzeiger / superview-lib_dev / include / svoperators / svoperatorbase.h next >
C/C++ Source or Header  |  1995-03-09  |  2KB  |  76 lines

  1. /* svoperator/svoperatorbase.h        */
  2. /* Version    : 9.1            */
  3. /* Date       : 24.09.1994        */
  4. /* Written by : Andreas R. Kleinert */
  5.  
  6. /* SVOperator-Version V1.x+ */
  7.  
  8. #ifndef SVOPERATORS_SVOPERATORBASE_H
  9. #define SVOPERATORS_SVOPERATORBASE_H
  10.  
  11. #ifndef SVOPERATORS_SVOPERATORS_H
  12. #include <svoperators/svoperators.h>
  13. #endif /* SVOPERATORS_SVOPERATORS_H */
  14.  
  15. #ifndef EXEC_LISTS
  16. #include <exec/lists.h>
  17. #endif /* EXEC_LISTS */
  18.  
  19. #ifndef EXEC_LIBRARIES
  20. #include <exec/libraries.h>
  21. #endif /* EXEC_LIBRARIES_H */
  22.  
  23.    /* An external support-library for the superview.library is called a
  24.       "svoperator".
  25.       Each svoperator has to contain a "SVP_OperatorNode" structure (as follows)
  26.       in its Library-Header, which later will be READ and MODIFIED by
  27.       the superview.library.
  28.       Because the superview.library supports three different sorts
  29.       of SVOperators at the time (internal, independent and external),
  30.       there are three different types of this structure (might be more in
  31.       the future), which can be identified via their "svp_OperatorType".
  32.    */
  33.  
  34.    /* The Construction of a svoperator :
  35.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
  36.  
  37.       The Library Base
  38.       ----------------
  39.  
  40.       Version MUST be 1 yet, Revision can be set freely
  41.  
  42.       (see structure described below)
  43.  
  44.  
  45.       The Function Table
  46.       ------------------
  47.  
  48.       (see <pragmas/svoperators.h> or Reference_ENG.doc)
  49.  
  50.    */
  51.  
  52. /* *************************************************** */
  53. /* *                             * */
  54. /* * Library base Definition for svoperators         * */
  55. /* *                             * */
  56. /* *************************************************** */
  57.  
  58. struct SVOperatorBase
  59. {
  60.  struct Library       svb_LibNode;       /* Exec LibNode             */
  61.  struct SVP_OperatorNode *svb_SVOperator;  /* POINTER to initialized         */
  62.                        /* SVP_OperatorNode             */
  63.                        /* Define it somewhere else,      */
  64.                        /* then initialize this pointer.  */
  65.  
  66.  ULONG            svp_Reserved [32]; /* Reserved for future expansion. */
  67.                        /* Always NULL yet (Version 1).   */
  68.  
  69.  /*
  70.    Private data of the svoperator, not to be accessed
  71.    by superview.library, may follow.
  72.  */
  73. };
  74.  
  75. #endif /* SVOPERATORS_SVOPERATORBASE_H */
  76.